var checkboxTemp=document.createElement("input");checkboxTemp.name='userCheck';checkboxTemp.value='';

var checks=document.getElementsByName("userCheck");for(var count=0;count<checks.length;count++){checks[count].checked=true;}
